<!--
 * @Author: 噜噜雯雯 2199987619@qq.com
 * @Date: 2025-06-11 09:48:47
 * @LastEditors: 噜噜雯雯 2199987619@qq.com
 * @LastEditTime: 2025-06-18 08:34:07
 * @FilePath: \linePatrol\vue-element-plus-admin\src\views\linePatrol\Ledger\components\Detail.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<script setup lang="ts">
import { PropType } from 'vue'
import { Descriptions, DescriptionsSchema } from '@/components/Descriptions'
import { PatrolInspectionType } from '@/api/linePatrol/type'
defineProps({
  currentRow: {
    type: Object as PropType<Nullable<PatrolInspectionType>>,
    default: () => null
  },
  detailSchema: {
    type: Array as PropType<DescriptionsSchema[]>,
    default: () => []
  }
})
</script>

<template>
  <Descriptions :schema="detailSchema" :data="currentRow || {}" />
</template>
